import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/components/home/home.vue'
import List from '@/components/list/List.vue'


Vue.use(VueRouter)


export default new VueRouter({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },{
      path: '/list',
      name: 'list',
      component: List
    }
  ]
})